<!doctype html>
<html class="no-js">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>党建网</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../../assets/css/amazeui.css" />
    <link rel="stylesheet" href="../../assets/css/admin.css">
    <link rel="stylesheet" href="../../css/index.css">
    <link rel="stylesheet" href="../../css/parVideo.css">
    

</head>

<body>
    <!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，Amaze UI 暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
  以获得更好的体验！</p>
<![endif]-->

    <div class="content">

        <!--nav-div-->
        <div id="nav-bar" class="nav-bar"></div>
        <!--nav-div-->

        <div id="img-div"></div>

        <!--left-->
        <div id="left-div" class="left-div"></div>
        <!--left-->

        <!--content-->
        <div class="content-div">
        <div class="con-header">网上党校</div>
        <div class="con-test">
              <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
  <!--列表标题-->
    <div class="am-list-news-hd am-cf">
       <!--带更多链接-->
        
          <h2>模拟试题</h2>
          <a href="test.html" class="">
            <span class="am-list-news-more am-fr">更多 &raquo;</span>
        </a>
          </div>

  <div class="am-list-news-bd">
  <ul class="am-list" id="test_ul">
  </ul>
  </div>

    </div>
            
            </div>
        <div class="con-fab">
              <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
  <!--列表标题-->
    <div class="am-list-news-hd am-cf">
       <!--带更多链接-->
          <h2>党建制作</h2>
          <a href="parFab.html" class="">
            <span class="am-list-news-more am-fr">更多 &raquo;</span>
        </a>
          </div>

  <div class="am-list-news-bd">
  <ul class="am-list" id="fab_ul">
  </ul>
  </div>

    </div>
            </div>
            <div class="con-lit">
              <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
  <!--列表标题-->
    <div class="am-list-news-hd am-cf">
       <!--带更多链接-->
          <h2>文献著作</h2>
          <a href="litWork.html" class="">
            <span class="am-list-news-more am-fr">更多 &raquo;</span>
        </a>
          </div>

  <div class="am-list-news-bd">
  <ul class="am-list" id="lit_ul">
  </ul>
  </div>

    </div>
            </div>
            <div class="con-con">
              <div data-am-widget="list_news" class="am-list-news am-list-news-default" >
  <!--列表标题-->
    <div class="am-list-news-hd am-cf">
       <!--带更多链接-->
          <h2>党章</h2>
          <a href="parCon.html" class="">
            <span class="am-list-news-more am-fr">更多 &raquo;</span>
        </a>
          </div>

  <div class="am-list-news-bd">
  <ul class="am-list" id="con_ul">
  </ul>
  </div>

    </div>
            </div>
        </div>
        
        <!--content-->


        <!--right-->
        <div id="right-div" class="right-div"></div>
        <!--right-->
    </div>
    <!--[if lt IE 9]>
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="/assets/js/amazeui.ie8polyfill.min.js"></script>
<![endif]-->

    <!--[if (gte IE 9)|!(IE)]><!-->
    <script src="../../assets/js/jquery.min.js"></script>
    <!--<![endif]-->
    <script src="../../assets/js/amazeui.min.js"></script>
    <script src="../../js/prevHeader.js"></script>
    <script src="../../js/jquery.zlight.menu.1.0.min.js"></script>
<script src="../../js/index.js"></script>
<script src="../../js/global.js"></script>
    <script>
        $(document).ready(function(){
        	
        	$.ajax({
    			type : "GET",
    			url : "/partyBuilding/article/scol/7/curPage/1/pageSize/4",
    			contentType : "application/json",
    			dataType : "json",
    			success : function(data) {
    				//alert(JSON.stringify(data));
    				
    				if(data.code == "200") {
    					testUl(data);
    		            fabUl();
    		            litUl();
    		            conUl();
    		            $("#location").text("当前位置：首页 > 网上党校 ");
    		            
    				}
    			},
    			error : function() {
    				
    			}
    		}); 
        })
        
        // 模拟试题
        function testUl(data){
        	
        	$.each(data.articles, function(num, articles) {
                $("#test_ul").append('<li class="am-g am-list-item-dated">'+
         '<a onclick="notCont(this)" pkArticle="'+articles.pkArticle+'"class="am-list-item-hd" style="padding:5px;font-size:15px">'+articles.artTitle+'</a>'+
         '<span class="am-list-date">'+getTime(articles.artCreateTime)+'</span>'+'</li>');
                if(num==2) return false;
           })
        }
        
        // 党建制作
        function fabUl(){
        	$.ajax({
    			type : "GET",
    			url : "/partyBuilding/article/scol/8/curPage/1/pageSize/4",
    			contentType : "application/json",
    			dataType : "json",
    			success : function(data) {
    				//alert(JSON.stringify(data));
    				
    				if(data.code == "200") {
    					$.each(data.articles, function(num, articles) {
    		                $("#fab_ul").append('<li class="am-g am-list-item-dated">'+
    		         '<a onclick="notCont(this)" pkArticle="'+articles.pkArticle+'"class="am-list-item-hd" style="padding:5px;font-size:15px">'+articles.artTitle+'</a>'+
    		         '<span class="am-list-date">'+getTime(articles.artCreateTime)+'</span>'+'</li>');
    		                if(num==2) return false;
    		           })
    				}
    			},
    			error : function() {
    				
    			}
    		}); 
          
        }
        
            // 文献著作
        function litUl(){
        	$.ajax({
    			type : "GET",
    			url : "/partyBuilding/article/scol/9/curPage/1/pageSize/4",
    			contentType : "application/json",
    			dataType : "json",
    			success : function(data) {
    				//alert(JSON.stringify(data));
    				
    				if(data.code == "200") {
    					$.each(data.articles, function(num, articles) {
    		                $("#lit_ul").append('<li class="am-g am-list-item-dated">'+
    		         '<a onclick="notCont(this)" pkArticle="'+articles.pkArticle+'"class="am-list-item-hd" style="padding:5px;font-size:15px">'+articles.artTitle+'</a>'+
    		         '<span class="am-list-date">'+getTime(articles.artCreateTime)+'</span>'+'</li>');
    		                if(num==2) return false;
    		           })
    				}
    			},
    			error : function() {
    				
    			}
    		}); 
        }
        
            // 党章
        function conUl(){
        	$.ajax({
    			type : "GET",
    			url : "/partyBuilding/article/scol/10/curPage/1/pageSize/4",
    			contentType : "application/json",
    			dataType : "json",
    			success : function(data) {
    				//alert(JSON.stringify(data));
    				
    				if(data.code == "200") {
    					$.each(data.articles, function(num, articles) {
    		                $("#con_ul").append('<li class="am-g am-list-item-dated">'+
    		         '<a onclick="notCont(this)" pkArticle="'+articles.pkArticle+'"class="am-list-item-hd" style="padding:5px;font-size:15px">'+articles.artTitle+'</a>'+
    		         '<span class="am-list-date">'+getTime(articles.artCreateTime)+'</span>'+'</li>');
    		                if(num==2) return false;
    		           })
    				}
    			},
    			error : function() {
    				
    			}
    		}); 
           
            
        }
        

    </script>

</body>

</html>